﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<timetableasy.Models.Event>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">EventId</div>
        <div class="display-field"><%= Html.Encode(Model.EventId) %></div>
        
        <div class="display-label">StartDate</div>
        <div class="display-field"><%= Html.Encode(String.Format("{0:g}", Model.StartDate)) %></div>
        
        <div class="display-label">EndDate</div>
        <div class="display-field"><%= Html.Encode(String.Format("{0:g}", Model.EndDate)) %></div>
        
        <div class="display-label">IsMandatoryToDisplay</div>
        <div class="display-field"><%= Html.Encode(Model.IsMandatoryToDisplay) %></div>
        
        <div class="display-label">ClassRoomIdFK</div>
        <div class="display-field"><%= Html.Encode(Model.ClassRoomIdFK) %></div>
        
        <div class="display-label">EventTypeIdFK</div>
        <div class="display-field"><%= Html.Encode(Model.EventTypeIdFK) %></div>
        
        <div class="display-label">EventName</div>
        <div class="display-field"><%= Html.Encode(Model.EventName) %></div>
        
        <div class="display-label">EventAudianceIdFK</div>
        <div class="display-field"><%= Html.Encode(Model.EventAudianceIdFK) %></div>
        
        <div class="display-label">SpeakerIdFK</div>
        <div class="display-field"><%= Html.Encode(Model.SpeakerIdFK) %></div>
        
        <div class="display-label">SpeakerName</div>
        <div class="display-field"><%= Html.Encode(Model.SpeakerName) %></div>
        
        <div class="display-label">SpaceName</div>
        <div class="display-field"><%= Html.Encode(Model.SpaceName) %></div>
        
        <div class="display-label">CourseProgramIdFK</div>
        <div class="display-field"><%= Html.Encode(Model.CourseProgramIdFK) %></div>
        
        <div class="display-label">IsValid</div>
        <div class="display-field"><%= Html.Encode(Model.IsValid) %></div>
        
    </fieldset>
    <p>

        <%=Html.ActionLink("Edit", "Edit", new { id=Model.EventId }) %> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

